package com.dongdongshop.service;

import com.dongdongshop.vo.Cart;

import java.util.List;

public interface CartService {
    List<Cart> addCart(List<Cart> cartList, Long itemId, Integer num);

    List<Cart> findCartListFromRed(String userName);

    void addCartToRedis(List<Cart> cartList,String userName);
    List<Cart> merageCart(List<Cart> cartListRedis,List<Cart> cartListCookie );
}
